package cn.e4j.modular.system.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wenchuan.li
 * @since 2018-12-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("SYS_PROCEDURE_TASK")
public class SysProcedureTask extends PO<SysProcedureTask> {

    private static final long serialVersionUID = 1L;

    /**
     * 流水号
     */
    @TableField(fill = FieldFill.INSERT)
    @TableId(value = "ID", type = IdType.INPUT)
    private String ID;
    /**
     * 存储过程名称
     */
    private String PROCEDURE_NAME;
    /**
     * 定时规则
     */
    private String TASK_RULE;
    /**
     * 状态
     */
    private String TASK_STATUS;
    /**
     * 备注
     */
    private String TASK_REMARK;
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private String CREATE_BY;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime CREATE_DATE;
    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String UPDATE_BY;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime UPDATE_DATE;
    private String TASK001;
    private String TASK002;
    private String TASK003;
    private Integer TASK004;
    private LocalDateTime TASK005;


    @Override
    protected Serializable pkVal() {
        return this.ID;
    }

}
